package com.webservice.xmloper.activeinfo;

import com.thoughtworks.xstream.annotations.XStreamAlias;

/**
 * 内存
 * @author Administrator
 *
 */

@XStreamAlias("memory")
public class Memory {
	
	/**
	 * 总内存
	 */
	private Long total;
	
	/**
	 * 占用内存
	 */
	private Long used;
	
	/**
	 * 空闲内存
	 */
	private Long free;
	
	/**
	 * 缓冲区内存
	 */
	private Long buffer;

	public Memory() {
		super();
	}

	public Memory(Long total, Long used, Long free, Long buffer) {
		super();
		this.total = total;
		this.used = used;
		this.free = free;
		this.buffer = buffer;
	}

	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public Long getUsed() {
		return used;
	}

	public void setUsed(Long used) {
		this.used = used;
	}

	public Long getFree() {
		return free;
	}

	public void setFree(Long free) {
		this.free = free;
	}

	public Long getBuffer() {
		return buffer;
	}

	public void setBuffer(Long buffer) {
		this.buffer = buffer;
	}
}
